package ds;

/**
 * TODO
 *
 * @author lefly
 * @version 1.0
 * @classname TreeNode
 * @description 二叉树
 * @date 2021/1/27 下午4:43
 */
public class TreeNode {

    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode() {
    }

    public TreeNode(int val) {
        this.val = val;
    }

    public TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
